package com.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.entity.sys.Role;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author clay
 * @since 2022-02-15
 */
public interface RoleService extends IService<Role> {

    boolean deleteById(String id);

    /**
     * 给权限分配菜单
     * @param id
     * @param menuIds
     * @return
     */
    Boolean assignMenu(String id, List<String> menuIds);
}
